Programmable intelligent brain abstraction